import Modeler from 'bpmn-js/lib/Modeler'
import inherits from 'inherits'
import CustomModule from './custom'
import CreateAppendAnythingModule from 'bpmn-js/lib/features/create-append-anything';
import ContextPadModule from 'bpmn-js/lib/features/context-pad';
export default function CustomModeler(options) {
    Modeler.call(this, options)
    this._customElements = []
}
inherits(CustomModeler, Modeler)
CustomModeler.prototype._modules = [].concat(
    CustomModeler.prototype._modules, [
        CustomModule
    ]
).filter((item) => {
    // return item !== CreateAppendAnythingModule
  return item !== ContextPadModule
})

//  && item !== ContextPadModule
